import Films from '@/views/Films/Index'
import NowPlaying from '@/views/Films/NowPlaying'
import ComingSoon from '@/views/Films/ComingSoon'
import Details from '@/views/Films/Details'

let filmRoutes = [{
        path: "/films",
        component: Films,
        children: [
            { path: "nowPlaying", component: NowPlaying },
            { path: "comingSoon", component: ComingSoon }
        ],
    },
    {
        path: "/film/:id",
        component: Details,
    }
];

// 导出模块
export default filmRoutes;